<?php /*a:1:{s:62:"D:\php\phpstudy_pro\WWW\shop24\app\index\view\index\index.html";i:1610545293;}*/ ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table border="1">
    <?php if(is_array($arr) || $arr instanceof \think\Collection || $arr instanceof \think\Paginator): $i = 0; $__LIST__ = $arr;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
    <tr style="color: red"> <?php if($mod == '1'): ?>
        <td><?php echo htmlentities($vo['id']); ?></td>
        <td><?php echo htmlentities($vo['title']); ?></td>
        <td><?php echo htmlentities($vo['content']); ?></td>
        <td><?php echo htmlentities($vo['type']); ?></td>
    </tr>
    <?php endif; ?>
    <tr style="color: blue"><?php if($mod == '0'): ?>
        <td><?php echo htmlentities($vo['id']); ?></td>
        <td><?php echo htmlentities($vo['title']); ?></td>
        <td><?php echo htmlentities($vo['content']); ?></td>
        <td><?php echo htmlentities($vo['type']); ?></td>
    </tr>
    <?php endif; ?>
    <?php endforeach; endif; else: echo "" ;endif; ?>
</table>
<br><br><br><br><br><br>

<table border="1">
    <?php if(is_array($arr) || $arr instanceof \think\Collection || $arr instanceof \think\Paginator): $k = 0; $__LIST__ = $arr;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;if($k%2=='0'): ?>
    <tr style="color:red">

        <td><?php echo htmlentities($vo['id']); ?></td>
        <td><?php echo htmlentities($vo['title']); ?></td>
        <td><?php echo htmlentities($vo['content']); ?></td>
        <td><?php echo htmlentities($vo['type']); ?></td>

    </tr>
    <?php endif; if($k%2=='1'): ?>
    <tr style="color:blue">

        <td><?php echo htmlentities($vo['id']); ?></td>
        <td><?php echo htmlentities($vo['title']); ?></td>
        <td><?php echo htmlentities($vo['content']); ?></td>
        <td><?php echo htmlentities($vo['type']); ?></td>

    </tr>
    <?php endif; ?>
    <?php endforeach; endif; else: echo "" ;endif; ?>

</table>
<hr>
<?php $__FOR_START_595274508__=1;$__FOR_END_595274508__=100;for($i=$__FOR_START_595274508__;$i < $__FOR_END_595274508__;$i+=1){ ?>
  <?php echo htmlentities($i); } ?>
<hr>
<?php $__FOR_START_1025440067__=1;$__FOR_END_1025440067__=6;for($ask=$__FOR_START_1025440067__;$ask < $__FOR_END_1025440067__;$ask+=2){ ?>
<?php echo htmlentities($ask); } ?>
<hr>
<?php if($name == '66'): ?>
相等
<?php else: ?>
不相等
<?php endif; ?>
<hr>
<?php if($num > '5'): ?>
  你瞅啥?
<?php else: ?>
   瞅你咋地
<?php endif; ?>
<hr>
<?php if($num >= '7'): ?>
你瞅啥?
<?php else: ?>
瞅你咋地
<?php endif; ?>
<hr>


<hr>
<?php switch($name): case "52": ?>输出内容1<?php break; case "66": ?>输出内容2<?php break; default: ?>default
<?php endswitch; ?>

<hr>

<?php switch($_GET['type']): case "gif":case "png":case "jpg": ?>图像格式<?php break; default: ?>其他格式
<?php endswitch; ?>
<hr>
<?php switch($name2): case $arrs['sex']: ?>admin<?php break; case $name2: ?>member<?php break; ?>
<?php endswitch; ?>
<hr>
<?php if($name<=6): ?>
你好
<?php elseif($name==6): ?>
你的
<?php else: ?>
你猜
<?php endif; ?>
<hr>
<?php $_RANGE_VAR_=explode(',',"1,10");if($name>= $_RANGE_VAR_[0] && $name<= $_RANGE_VAR_[1]):?>
你好
<?php else: ?>
你的
<?php endif; ?>
</body>
</html>